package com.tm.mygsyplayer;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.tm.mygsyplayer.activity.VideoThumbnailActivity;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void onGsyPlayer(View view) {
        startActivity(new Intent(this, SimplePlayerActivity.class));
    }

    public void onGsyPlayerRecycler(View view) {
        startActivity(new Intent(this, RecyclerAutoPlayActivity.class));
    }

    public void onCustomPlayer(View view) {
        startActivity(new Intent(this, MyGsyPlayerActivity.class));
    }

    public void onCustomShowPlayer(View view) {
        startActivity(new Intent(this, MyCustomPlayerActivity.class));
    }

    public void onShortVideoPlayer(View view) {
        startActivity(new Intent(this, ShortVideoPlayerActivity.class));
    }

    public void onVideoThumb(View view) {
        startActivity(new Intent(this, VideoThumbnailActivity.class));
    }

}
